package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member_card_order_dist_record")
@ApiModel(value="MemberCardOrderDistRecordEntity对象", description="")
public class MemberCardOrderDistRecordEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "会员id")
    @ApiModelProperty("会员id")
    private String memberId;

    @Column(comment = "会员卡订单id")
    @ApiModelProperty(value = "会员卡订单id")
    private Long orderId;

    @Column(comment = "商品id")
    @ApiModelProperty(value = "商品id")
    private Long goodId;

    @Column(comment = "商品skuid")
    @ApiModelProperty(value = "商品skuid")
    private Long skuId;

    @Column(comment = "收货人")
    @ApiModelProperty(value = "收货人")
    private String receiver;

    @Column(comment = "收货人手机号")
    @ApiModelProperty(value = "收货人手机号")
    private String receiverMobile;

    @Column(comment = "收货人地址")
    @ApiModelProperty(value = "收货人地址")
    private String receiverAddress;

    @Column(comment = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @Column(comment = "状态：1-未发货；2-待收货；3-已完成")
    @ApiModelProperty(value = "状态：1-未发货；2-待收货；3-已完成")
    private String status;

    @Column(comment = "发货人")
    @ApiModelProperty(value = "发货人")
    private Long distBy;

    @Column(comment = "发货时间")
    @ApiModelProperty(value = "发货时间")
    private LocalDateTime distTime;


}
